package socialplaytime;

import javax.swing.*;


public class StoryWindow {
			
	public StoryWindow(int moduleNum, PlayMenuGUI mainMenuGUI){
		String s1= "module";
						
	//	String s= s1+x+s2+y;
	//	String s = "module1.page0.gif"; // This will be the title of the current page of the story
		String s = s1 + moduleNum; // This will be the title of the current page of the story
		JFrame frame = new JFrame (s);

		@SuppressWarnings("unused")
		ImageIcon storyPic = new ImageIcon(); // jpeg or gif file needs to be inserted as actual parameter

		@SuppressWarnings("unused")
		JLabel label = new JLabel (); // add txt file to label here

		frame.getContentPane().add(new NextPagePanel(frame, s, mainMenuGUI));
		frame.pack();
		frame.setVisible(true);
	}
	
	
}